package com.txl.pojo;

import com.txl.utils.ChineseNumberUtil;
import lombok.Data;

@Data
public class ThreadDemo implements Runnable {

    private int num;

    public ThreadDemo(int num) {
        this.num = num;
    }

    @Override
    public void run() {
        System.out.println("=====执=====行=====" + ChineseNumberUtil.toChinese(num) + "=====线=====程=====");
    }
}
